﻿<%@ Page Title="Kết quả bài thi" Language="C#" MasterPageFile="~/HocVien/HocVien.master" AutoEventWireup="true" CodeFile="frmKetQuaThi.aspx.cs" Inherits="HocVien_frmKetQuaThi" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Label ID="lblKetQuaThiSinh" runat="server" ForeColor="#0066FF" 
        Text="Ket Qua Thi Cua Thi Sinh"></asp:Label>
    <br />
    <br />
    <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
        CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" 
        GridLines="None" Height="50px"   >
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <Fields>
            <asp:BoundField DataField="MsSinhVien" HeaderText="MaSV" SortExpression="MaSV" >
            <ControlStyle BorderWidth="400px" />
            </asp:BoundField>
            <asp:BoundField DataField="TenBaiThi" HeaderText="TenBaiThi" 
                SortExpression="TenBaiThi" >
            <ControlStyle BorderWidth="200px" />
            </asp:BoundField>
            <asp:BoundField DataField="Socaudung" HeaderText="Socaudung" 
                SortExpression="Socaudung" />
            <asp:BoundField DataField="Diem" HeaderText="Diem" SortExpression="Diem" />
            <asp:BoundField DataField="NgayThi" HeaderText="NgayThi" 
                SortExpression="NgayThi" />
        </Fields>
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:DetailsView>
    <br />
    <asp:Button ID="btnKetThuc" runat="server" Text="Ket Thuc" />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:TracNghiemTrucTuyenConnectionString %>" 
         
        
        
        
        
        
        SelectCommand="SELECT [Socaudung], [Diem], [MsSinhVien], [NgayThi], [TenBaiThi] FROM [tbl_BAITHI] WHERE ([MaBT] = @MaBT)">
        <SelectParameters>
            <asp:QueryStringParameter Name="MaBT" QueryStringField="mabaithi" 
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <br />
</asp:Content>

